﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;

namespace BathhouseService.Models.SqlModels
{
    public class Notice: TopBasePoco
    {
        [Key]
        public new int ID { get; set; }
        [Display(Name = "标题")]
        [Required(ErrorMessage = "标题是必填项")]
        public string Title { get; set; }
        [Display(Name = "内容")]
        [Required(ErrorMessage = "内容")]
        public string Content { get; set; }
    }
}
